package com.xb.loan.usercenter.user.user.dao.bean;

import javax.persistence.Entity;
import java.io.Serializable;
import java.util.Date;

@Entity
public class UserBankCard implements Serializable {
	
	private static final long serialVersionUID = -3096998073478394761L;

	private String bankcardId;

    private String userId;

    private String cardNo;

    private String cardUsername;

    private String bankName;

    private String bankCode;

    private int isDefault;

    private Date createTime;

    private int state;

    private String bankProvince;

    private String bankCity;

    private String bankSubbranchcode;

    private String bankSubbranchname;

    public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getBankcardId() {
        return bankcardId;
    }

    public void setBankcardId(String bankcardId) {
        this.bankcardId = bankcardId == null ? null : bankcardId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo == null ? null : cardNo.trim();
    }

    public String getCardUsername() {
        return cardUsername;
    }

    public void setCardUsername(String cardUsername) {
        this.cardUsername = cardUsername == null ? null : cardUsername.trim();
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode == null ? null : bankCode.trim();
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBankProvince() {
        return bankProvince;
    }

    public void setBankProvince(String bankProvince) {
        this.bankProvince = bankProvince == null ? null : bankProvince.trim();
    }

    public String getBankCity() {
        return bankCity;
    }

    public void setBankCity(String bankCity) {
        this.bankCity = bankCity == null ? null : bankCity.trim();
    }

    public String getBankSubbranchcode() {
        return bankSubbranchcode;
    }

    public void setBankSubbranchcode(String bankSubbranchcode) {
        this.bankSubbranchcode = bankSubbranchcode == null ? null : bankSubbranchcode.trim();
    }

    public String getBankSubbranchname() {
        return bankSubbranchname;
    }

    public void setBankSubbranchname(String bankSubbranchname) {
        this.bankSubbranchname = bankSubbranchname == null ? null : bankSubbranchname.trim();
    }
}